<template>
  <div class="container">
    <h2 style="margin: 0 20px; padding-top: 5px">
      {{ titleCaptionMap.get(title) }}
    </h2>
    <div style="margin: 0 20px">
      <slot></slot>
    </div>
  </div>
</template>

<script setup lang="ts">
import { titleCaptionMap } from "@/common";

defineProps<{
  title: string;
}>();
</script>

<style scoped src="@/demo/default.css"></style>
